package com.spider.task;

import org.springframework.stereotype.Component;

@Component
public class SpriderManTaskTest implements ScheduleOfTask{
    @Override
    public void execute() {
        System.out.println("执行动态任务，线程名称："+Thread.currentThread().getName());
    }


    @Override
    public void run() {
        System.out.println("执行动态任务，线程名称："+Thread.currentThread().getName());
    }
}
